Automattic\Jetpack\Publicize\Publicize_Base D

Total Complexity 285
Dependencies 11
Dependents 0
Total lines 2,209
Lines of code 1,000
Logical lines of code 476
Comment lines 909
Methods 75
Properties 15

Methods 75

Method Rating Maintainability Complexity Lines of code
save_meta()
B
39 23 58
get_filtered_connection_data()
B
36 20 75
get_profile_link()
B
41 21 48
add_fediverse_creator_open_graph_tag()
A
43 14 47
get_publicize_conns_test_results()
A
40 13 60
should_submit_post_pre_checks()
A
46 14 41
update_published_message()
A
41 12 55
show_options_popup()
A
52 14 22
jetpack_social_open_graph_filter()
A
50 10 28
register_post_meta()
A
35 3 109
get_display_name()
A
55 8 20
get_service_label()
A
58 8 16
get_attached_media_image()
S
55 6 19
get_api_data()
S
51 5 28
publicize_connections_url()
S
59 6 12
compress_and_scale_og_image()
S
56 4 21
reduce_file_size()
S
57 4 17
is_enabled()
S
63 5 10
get_publicizing_services()
S
59 4 13
post_is_publicizeable()
S
62 4 12
add_jetpack_social_og_images()
S
56 3 19
get_social_opengraph_image()
S
59 3 15
get_username()
S
63 4 10
has_feature_flag()
S
64 4 9
use_admin_ui_v1()
S
68 4 7
build_sprintf()
S
59 3 14
__construct()
S
50 1 31
get_remote_filesize()
S
65 3 8
add_jetpack_social_og_image()
S
59 2 15
current_user_can_access_publicize_data()
S
68 3 7
get_available_service_data()
S
62 2 12
filter_fediverse_cards_output()
S
77 2 3
get_profile_picture()
S
69 2 7
post_type_is_publicizeable()
S
71 2 6
is_valid_facebook_connection()
S
66 2 8
get_supported_additional_connections()
S
70 2 7
parse_connection_error_code()
S
72 2 6
publicize_checkbox_default()
S
71 2 6
has_paid_plan()
S
68 2 7
get_publicize_shares_info()
S
69 2 7
get_dismissed_notices()
S
69 2 7
can_manage_connection()
S
77 2 3
calculate_scheduled_shares()
S
60 1 14
is_enhanced_publishing_enabled()
S
81 1 3
has_enhanced_publishing_feature()
S
80 1 3
is_social_image_generator_enabled()
S
81 1 3
refresh_url()
S
100 1 0
has_connection_feature()
S
79 1 3
has_social_image_generator_feature()
S
80 1 3
has_social_auto_conversion_feature()
S
79 1 3
get_connections()
S
100 1 0
has_connections_management_feature()
S
80 1 3
has_paid_features()
S
81 1 3
connect_url()
S
100 1 0
disconnect_url()
S
100 1 0
test_connection()
S
100 1 0
get_connection()
S
100 1 0
is_connecting_connection()
S
72 1 5
user_id()
S
81 1 3
blog_id()
S
81 1 3
flag_post_for_publicize()
S
100 1 0
add_post_type_support()
S
80 1 3
get_services()
S
100 1 0
message_meta_auth_callback()
S
80 1 3
test_publicize_conns()
S
81 1 3
is_invalid_linkedin_connection()
S
74 1 4
get_connection_id()
S
100 1 0
is_global_connection()
S
79 1 3
unglobalize_connection()
S
100 1 0
globalize_connection()
S
100 1 0
get_resized_image_url()
S
66 1 10
disconnect()
S
100 1 0
post_is_done_sharing()
S
100 1 0
get_connection_unique_id()
S
100 1 0
get_connection_meta()
S
100 1 0